package com.kehutong.contact.enums;

import org.coraframework.util.HashID;

/**
 * 车辆类型
 * @author 刘坤龙
 */
public enum CarType implements HashID {
    RIDER("1", "骑手"),
    MINIBUS("2", "小客车"),
    TRUCK("3", "货车"),
    SPECIAL_VEHICLE("4", "特种车"),
    OTHER("5", "其他")
    ;
    private final String id;
    private final String desc ;

    private CarType(String id, String desc) {
        this.id = id;
        this.desc = desc ;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
